#ifndef _THREAD_MANAGER_HPP_
#define _THREAD_MANAGER_HPP_
//#include "Thread.hpp"
#include <vector>
using namespace std;

class Thread;

class ThreadManager
{
public:
	ThreadManager(void);
	~ThreadManager(void);

public:
	/*
	Add a Thread handler to the vector
	*/
	void Add(Thread *t);

	/*
	Remove a Thread handler of the vector
	*/
	void Remove(Thread *t);

	/*
	Find a specific handler in the vector
	*/
	bool Find(Thread *t);

	/*
	Return the size of the vector
	*/
	int getSize(void);

	/*
	Delete all data from the vector
	*/
	void ClearVector(void);

	/*
	Set a minimum size of the vector
	*/
	void setMinimumSize(int s);

private:
	/*
	Thread handler vector
	*/
	vector<Thread*> vThreads;	

protected:
};

#endif // _THREAD_MANAGER_HPP_
